video: Stop playing when appropriate
authorMatthias Clasen <mclasen@redhat.com>
Fri, 1 Jan 2021 20:07:25 +0000 (15:07 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 1 Jan 2021 20:17:59 +0000 (15:17 -0500)
commit29afe5a688f8ce7c56bcc0b6295dee21fdee28cd
treeec0e4a2ba6fe1a6109ff9c9ef03d8d86d91c5c85
parent75a297632eef3de56990f1a702a8d496057f0575
video: Stop playing when appropriate

When the widget gets unrealized or hidden, pause
the mediastream. Otherwise, audio might keep playing
unexpectedly.
gtk/gtkvideo.c